package com.ruoyi.report_jl.domain.vo;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.utils.BigDecimalUtil;
import com.ruoyi.report_tg.domain.vo.ExcelGeneralVo;
import lombok.Data;
import java.util.Date;



/**
 * 细集料密度吸水率记录视图对象 report_jl_xjlmdxsljlb_bs_info
 *
 * @author tll
 * @date 2024-07-31
 */
@Data
@ExcelIgnoreUnannotated
public class ReportJlXjlmdxsljlbBsInfoVo extends ExcelGeneralVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long excelId;

    /**
     * 共几页
     */
    @ExcelProperty(value = "共几页")
    private Long totalPage;

    /**
     * 第几页
     */
    @ExcelProperty(value = "第几页")
    private Long page;

    /**
     * 记录编号
     */
    @ExcelProperty(value = "记录编号")
    private String jilbh;

    /**
     * 检测单位名称
     */
    @ExcelProperty(value = "检测单位名称")
    private String jiancdwmc;

    /**
     * 工程部位/用途
     */
    @ExcelProperty(value = "工程部位/用途")
    private String gongcbwyt;

    /**
     * 样品名称
     */
    @ExcelProperty(value = "样品名称")
    private String yangpmc;

    /**
     * 样品编号
     */
    @ExcelProperty(value = "样品编号")
    private String yangpbh;

    /**
     * 样品数量
     */
    @ExcelProperty(value = "样品数量")
    private String yangpsl;

    /**
     * 样品状态
     */
    @ExcelProperty(value = "样品状态")
    private String yangpzt;

    /**
     * 样品时间
     */
    @ExcelProperty(value = "样品时间")
    private String yangpsj;

    /**
     * 试验检测日期
     */
    @ExcelProperty(value = "试验检测日期")
    private String shiyjcrq;

    /**
     * 试验条件温度
     */
    @ExcelProperty(value = "试验条件温度")
    private String shiytjwd;

    /**
     * 试验条件湿度
     */
    @ExcelProperty(value = "试验条件湿度")
    private String shiytjsd;

    /**
     * 检测依据
     */
    @ExcelProperty(value = "检测依据")
    private String jiancyj;

    /**
     * 判定依据
     */
    @ExcelProperty(value = "判定依据")
    private String pandyj;

    /**
     * 主要仪器设备名称及编号
     */
    @ExcelProperty(value = "主要仪器设备名称及编号")
    private String zhuyyqsbmcjbh;

    /**
     * 附加声明
     */
    @ExcelProperty(value = "附加声明")
    private String fujsm;

    /**
     * 报表名称
     */
    @ExcelProperty(value = "报表名称")
    private String baobmc;

    /**
     * 报表编号
     */
    @ExcelProperty(value = "报表编号")
    private String baobbh;

    /**
     * 工程名称
     */
    @ExcelProperty(value = "工程名称")
    private String gongcmc;

    /**
     * 检测人
     */
    @ExcelProperty(value = "检测人")
    private String jiancr;

    /**
     * 记录人
     */
    @ExcelProperty(value = "记录人")
    private String jilr;

    /**
     * 复核人
     */
    @ExcelProperty(value = "复核人")
    private String fuhr;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    private Date riq;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 设备id逗号分隔
     */
    @ExcelProperty(value = "设备id逗号分隔")
    private String shebIds;

    /**
     * 检测依据ids
     */
    @ExcelProperty(value = "检测依据ids")
    private String jiancyjIds;

    /**
     * 判定依据ids
     */
    @ExcelProperty(value = "判定依据ids")
    private String pandyjIds;

    /**
     * 表观密度-试样烘干质量（g）1
     */
    @ExcelProperty(value = "表观密度-试样烘干质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal biaogmdHgm1;

    /**
     * 表观密度-瓶加水质量（g）1
     */
    @ExcelProperty(value = "表观密度-瓶加水质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal biaogmdWm1;

    /**
     * 表观密度-试样、水及平瓶质量（g）1
     */
    @ExcelProperty(value = "表观密度-试样、水及平瓶质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal biaogmdPm1;

    /**
     * 表观密度-水温（℃）1
     */
    @ExcelProperty(value = "表观密度-水温", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "℃=")
    private BigDecimal biaogmdSw1;

    /**
     * 表观密度-水密度（g/cm³）1
     */
    @ExcelProperty(value = "表观密度-水密度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=/cm³")
    private BigDecimal biaogmdWmd1;

    /**
     * 表观密度-堆积密度（kg/m³）1
     */
    @ExcelProperty(value = "表观密度-堆积密度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g/m³")
    private BigDecimal biaogmdDjmd1;

    /**
     * 表观密度-试样烘干质量（g）2
     */
    @ExcelProperty(value = "表观密度-试样烘干质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal biaogmdHgm2;

    /**
     * 表观密度-瓶加水质量（g）2
     */
    @ExcelProperty(value = "表观密度-瓶加水质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal biaogmdWm2;

    /**
     * 表观密度-试样、水及平瓶质量（g）2
     */
    @ExcelProperty(value = "表观密度-试样、水及平瓶质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal biaogmdPm2;

    /**
     * 表观密度-水温（℃）2
     */
    @ExcelProperty(value = "表观密度-水温", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "℃=")
    private BigDecimal biaogmdSw2;

    /**
     * 表观密度-水密度（g/cm³）2
     */
    @ExcelProperty(value = "表观密度-水密度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=/cm³")
    private BigDecimal biaogmdWmd2;

    /**
     * 表观密度-堆积密度（kg/m³）2
     */
    @ExcelProperty(value = "表观密度-堆积密度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g/m³")
    private BigDecimal biaogmdDjmd2;

    /**
     * 表观密度-平均值
     */
    @ExcelProperty(value = "表观密度-平均值")
    private BigDecimal biaogmdPjz;

    /**
     * 堆积密度-容量筒体积（ml）1
     */
    @ExcelProperty(value = "堆积密度-容量筒体积", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=l")
    private BigDecimal duijmdTj1;

    /**
     * 堆积密度-容量筒质量（g）1
     */
    @ExcelProperty(value = "堆积密度-容量筒质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal duijmdM11;

    /**
     * 堆积密度-容量筒加试样质量（g）1
     */
    @ExcelProperty(value = "堆积密度-容量筒加试样质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal duijmdM21;

    /**
     * 堆积密度-堆积密度（kg/m³）1
     */
    @ExcelProperty(value = "堆积密度-堆积密度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g/m³")
    private BigDecimal duijmdMd1;

    /**
     * 堆积密度-容量筒体积（ml）2
     */
    @ExcelProperty(value = "堆积密度-容量筒体积", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=l")
    private BigDecimal duijmdTj2;

    /**
     * 堆积密度-容量筒质量（g）2
     */
    @ExcelProperty(value = "堆积密度-容量筒质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal duijmdM12;

    /**
     * 堆积密度-容量筒加试样质量（g）2
     */
    @ExcelProperty(value = "堆积密度-容量筒加试样质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal duijmdM22;

    /**
     * 堆积密度-堆积密度（kg/m³）2
     */
    @ExcelProperty(value = "堆积密度-堆积密度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g/m³")
    private BigDecimal duijmdMd2;

    /**
     * 堆积密度-平均值
     */
    @ExcelProperty(value = "堆积密度-平均值", converter = ExcelDictConvert.class)
    private BigDecimal duijmdPjz;

    /**
     * 吸水率-计算方法1
     */
    @ExcelProperty(value = "吸水率-计算方法1")
    private String xislFf1;

    /**
     * 吸水率-单值1
     */
    @ExcelProperty(value = "吸水率-单值1")
    private BigDecimal xislDz1;

    /**
     * 吸水率-计算方法2
     */
    @ExcelProperty(value = "吸水率-计算方法2")
    private String xislFf2;

    /**
     * 吸水率-单值2
     */
    @ExcelProperty(value = "吸水率-单值2")
    private BigDecimal xislDz2;

    /**
     * 吸水率-平均值
     */
    @ExcelProperty(value = "吸水率-平均值")
    private BigDecimal xislPjz;

    public void setBiaogmdHgm1(BigDecimal biaogmdHgm1) {
        this.biaogmdHgm1 = BigDecimalUtil.stpTrailZero(biaogmdHgm1);
    }

    public void setBiaogmdWm1(BigDecimal biaogmdWm1) {
        this.biaogmdWm1 = BigDecimalUtil.stpTrailZero(biaogmdWm1);
    }

    public void setBiaogmdPm1(BigDecimal biaogmdPm1) {
        this.biaogmdPm1 = BigDecimalUtil.stpTrailZero(biaogmdPm1);
    }

    public void setBiaogmdSw1(BigDecimal biaogmdSw1) {
        this.biaogmdSw1 = BigDecimalUtil.stpTrailZero(biaogmdSw1);
    }

    public void setBiaogmdWmd1(BigDecimal biaogmdWmd1) {
        this.biaogmdWmd1 = BigDecimalUtil.stpTrailZero(biaogmdWmd1);
    }

    public void setBiaogmdDjmd1(BigDecimal biaogmdDjmd1) {
        this.biaogmdDjmd1 = ObjectUtils.isNotEmpty(BigDecimalUtil.stpTrailZero(biaogmdDjmd1))
            ? BigDecimalUtil.stpTrailZero(biaogmdDjmd1).setScale(0, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setBiaogmdHgm2(BigDecimal biaogmdHgm2) {
        this.biaogmdHgm2 = BigDecimalUtil.stpTrailZero(biaogmdHgm2);
    }

    public void setBiaogmdWm2(BigDecimal biaogmdWm2) {
        this.biaogmdWm2 = BigDecimalUtil.stpTrailZero(biaogmdWm2);
    }

    public void setBiaogmdPm2(BigDecimal biaogmdPm2) {
        this.biaogmdPm2 = BigDecimalUtil.stpTrailZero(biaogmdPm2);
    }

    public void setBiaogmdSw2(BigDecimal biaogmdSw2) {
        this.biaogmdSw2 = BigDecimalUtil.stpTrailZero(biaogmdSw2);
    }

    public void setBiaogmdWmd2(BigDecimal biaogmdWmd2) {
        this.biaogmdWmd2 = BigDecimalUtil.stpTrailZero(biaogmdWmd2);
    }

    public void setBiaogmdDjmd2(BigDecimal biaogmdDjmd2) {
        this.biaogmdDjmd2 = ObjectUtils.isNotEmpty(BigDecimalUtil.stpTrailZero(biaogmdDjmd2))
            ? BigDecimalUtil.stpTrailZero(biaogmdDjmd2).setScale(0, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setBiaogmdPjz(BigDecimal biaogmdPjz) {
        this.biaogmdPjz = ObjectUtils.isNotEmpty(BigDecimalUtil.stpTrailZero(biaogmdPjz))
            ? BigDecimalUtil.stpTrailZero(biaogmdPjz).setScale(0, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setDuijmdTj1(BigDecimal duijmdTj1) {
        this.duijmdTj1 = BigDecimalUtil.stpTrailZero(duijmdTj1);
    }

    public void setDuijmdM11(BigDecimal duijmdM11) {
        this.duijmdM11 = BigDecimalUtil.stpTrailZero(duijmdM11);
    }

    public void setDuijmdM21(BigDecimal duijmdM21) {
        this.duijmdM21 = BigDecimalUtil.stpTrailZero(duijmdM21);
    }

    public void setDuijmdMd1(BigDecimal duijmdMd1) {
        this.duijmdMd1 = ObjectUtils.isNotEmpty(BigDecimalUtil.stpTrailZero(duijmdMd1))
            ? BigDecimalUtil.stpTrailZero(duijmdMd1).setScale(0, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setDuijmdTj2(BigDecimal duijmdTj2) {
        this.duijmdTj2 = BigDecimalUtil.stpTrailZero(duijmdTj2);
    }

    public void setDuijmdM12(BigDecimal duijmdM12) {
        this.duijmdM12 = BigDecimalUtil.stpTrailZero(duijmdM12);
    }

    public void setDuijmdM22(BigDecimal duijmdM22) {
        this.duijmdM22 = BigDecimalUtil.stpTrailZero(duijmdM22);
    }

    public void setDuijmdMd2(BigDecimal duijmdMd2) {
        this.duijmdMd2 = ObjectUtils.isNotEmpty(BigDecimalUtil.stpTrailZero(duijmdMd2))
            ? BigDecimalUtil.stpTrailZero(duijmdMd2).setScale(0, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setXislDz1(BigDecimal xislDz1) {
        this.xislDz1 = BigDecimalUtil.stpTrailZero(xislDz1);
    }

    public void setXislDz2(BigDecimal xislDz2) {
        this.xislDz2 = BigDecimalUtil.stpTrailZero(xislDz2);
    }

    public void setXislPjz(BigDecimal xislPjz) {
        this.xislPjz = BigDecimalUtil.stpTrailZero(xislPjz);
    }

    public void setDuijmdPjz(BigDecimal duijmdPjz) {
        this.duijmdPjz = ObjectUtils.isNotEmpty(BigDecimalUtil.stpTrailZero(duijmdPjz))
            ? BigDecimalUtil.stpTrailZero(duijmdPjz).setScale(0, BigDecimal.ROUND_HALF_UP)
            : null;
    }
}
